#include "StdAfx.h"
#include "Singleton.h"

template <class T>
T * Singleton<T>::GetInstance()
{
	if (instance == NULL)
	{
		instance = new T;
	}
	return instance;
}